package com.night.administration.feign;

import com.night.common.entity.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: StudentFeign
 * @Description: //TODO 微服务调用
 * @author: LZJ
 * @date: 2022/10/27-11:16
 * @version: v1.0
 */
@FeignClient(value = "logistical") //提供者的名字
@RequestMapping("/api/lot/area")
public interface AreaFeign {
    //查询所有教室
    @GetMapping("/getAll")
    ResultVo<?> getAll();
}
